<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8">
  <meta http-equiv="X-UA-Compatible" content="IE=edge">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>首页</title>
  <link rel="stylesheet" href="./css/index.css">
  <link rel="stylesheet" href="./css/style.css">
  <style>
    .container {
      width: 500px;
      height: 300px;
      background: #fafafa;
    }
  </style>
</head>
<body>
  <div class="container">
    首页布局
  </div>

  <div class="box">box 容器</div>

  <ul class="my-ul">
    <li>li_1</li>
    <li class="active">li_2</li>
    <li>li_3</li>
  </ul>

  <form action="">
    <h1>用户登录</h1>
    <input type="text">
  </form>

  <script src="./js/index.js"></script>

  <script>
    // 这是内部的js
    console.log('内容')
    
    // 定义函数
    function fn() {
      console.log('全局函数 fn')
    }

    fn()

    function test() {
      console.log('test.......')
    }
  </script>
</body>
</html>